FROM openjdk:8-jre-alpine
MAINTAINER Lei
ADD target/friend-1.0-SNAPSHOT.jar app.jar
EXPOSE 18082
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","app.jar"]